* New upstream release
* Remove autotools-dev and quilt from Build-Depends
+ * Support `nostrip' DEB_BUILD_OPTIONS
* debian/patches/fix-big-endian-build.diff: merged upstream
* debian/patches/fix-new-test-cases.patch: New patch.
#!/usr/bin/make -f
+
+ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ BUILD_TYPE=Release
+else
+ BUILD_TYPE=Debug
+endif
+
%:
dh $@
override_dh_auto_configure:
- dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DENABLE_GETTEXT:BOOL=ON
+ dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=$(BUILD_TYPE) -DENABLE_GETTEXT:BOOL=ON